package com.sali.b_design_pattern.l_prototype_pattern.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @description:
 * @author: zhang hang
 * @date: 2023/3/18 21:30.
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Addresss2 implements Serializable, Cloneable {

    private String city;

    private String province;

    @Override
    public Object clone() throws CloneNotSupportedException {
        Addresss2 addresss2 = (Addresss2) super.clone();
        return addresss2;
    }

}
